home *** CD-ROM | disk | FTP | other *** search
/ The Net Power 1997 April / NETDisc0497.iso / mac / Demos / HomeDoor Bundle / HomeDoor / UG / SampleHostsFiles / MacDNS sample files / companyX.com. next >
Encoding:
Text File  |  1996-01-25  |  1.6 KB  |  39 lines  |  [TEXT/DNS?]

  1. ; Sample hosts file for use with MacDNS and
  2. ; HomeDoor to serve a number of virtual domains from one Web server.
  3.  
  4. ; This is the hosts file for the "CompanyX.com" virtual domain
  5.  
  6. ; START OF AUTHORITY INFORMATION
  7. CompanyX.com.      IN      SOA     dns.yourwebserver.com.     hostmaster.yourwebserver.com.  (
  8.                              9601251       ; serial number (yymmddn)
  9.                              36000           ; refresh (every 10 hours)
  10.                              7200             ; retry (after 2 hours)
  11.                              604800         ; expire (after 1 week)
  12.                              86400 )         ; minimum time to live (1 day)
  13.  
  14. ; NAME SERVERS
  15. CompanyX.com. IN      NS      dns.yourwebserver.com. 
  16. CompanyX.com. IN      NS      dns2.yourwebserver.com. 
  17.  
  18. ; MAIL EXCHANGERS
  19. ; You don't need this line if you're not providing virtual e-mail services for CompanyX
  20. CompanyX.com. IN      MX      10 yourmailserver.com. 
  21.  
  22. ; HOST ADDRESSES
  23. ; The HomeDoor address you're going to assign to the CompanyX virtual domain
  24. www.CompanyX.com.   IN      A      10.0.0.1
  25.  
  26. ; ALIASES
  27. ; Aliases for your actual Web server - not strictly necessary
  28. ; This alias makes it so that Web browsers' "location" fields
  29. ;     list CompanyX.com as the domain, rather than yourwebserver.com
  30. ; For this to work, you must enter this alias in the HomeDoor URL 
  31. ;     associated with the above address (rather than www.yourwebserver.com)
  32. ; MacDNS does not support cross-domain aliases, so instead of:
  33. ;         www2.CompanyX.com.  IN      CNAME   www.yourwebserver.com.
  34. ;         you have to use the hard-coded addresses of the real Web server
  35. www2.CompanyX.com.   IN      A      10.0.0.254
  36.  
  37.  
  38.  
  39.